#ifndef _IWEBCLASSOBJECT_H_
#define _IWEBCLASSOBJECT_H_

#include <memory>

#include "request.h"
#include "response.h"
#include "dxyReflectClass.h"

namespace dxy::easyWebServer 
{

class IwebClassObject : public dxy::reflect::DxyRelfectObject 
{
public:
    std::shared_ptr<Request> m_request;
    std::shared_ptr<Response> m_response;
};


#define CLASSOBJECTINIT(className)\
    CLASSREGISTER(className)\
    CLASSFIELDREGISTER(className, m_request)\
    CLASSFIELDREGISTER(className, m_response)\

}

#endif